package org.budo.netty.servlet.util;

/**
 * @author lmw
 */
public class NumberUtil {
    public static int toInt(String value) {
        try {
            return Integer.parseInt(value);
        } catch (NumberFormatException e) {
            throw new RuntimeException(e);
        }
    }
}